# dict_1 = {"name":'小明','age':18,'address':'广西南宁广西建设职业技术学院'，"name":'小花'}
# print(dict_1)
# dict_2 = dict(name='小花', age=20, address='广西南宁广西建设职业技术学院')
# color_dict = {'purple': '紫色', 'green': '绿色', 'black': '黑色'}
# print(color_dict['purple'])
# print(color_dict['green'])
# print(color_dict['black'])
# demo_set = set()
# demo_set.add('py')
# demo_set.update('thon')
# demo_set.add('py')
# print(demo_set)
discard_set = {'python', 'php', 'java'}
discard_set.discard('java')
discard_set.discard('ios')
print(discard_set)
pop_set = {'green', 'blue', 'white'}
pop_set.pop()
print(pop_set)
clear_set = {'red', 'green', 'black'}
clear_set.clear()
print(clear_set)
set_a = {'a', 'c'}
set_b = {'b', 'c'}
print(set_a | set_b)
print(set_a & set_b)
print(set_a - set_b)
print(set_b - set_a)
print(set_a ^ set_b)